FROM golang
WORKDIR /workspace
ENV LANG zh_CN.utf8
ENV LANGUAGE zh_CN.utf8
ENV LC_ALL zh_CN.utf8

RUN go get github.com/dailing/levlog && \
    go get github.com/dgrijalva/jwt-go

RUN go get github.com/go-sql-driver/mysql
RUN go get github.com/go-xorm/xorm
RUN go get github.com/satori/go.uuid
RUN go get github.com/gomodule/redigo/redis
RUN go get github.com/stretchr/testify/assert

EXPOSE 8080

CMD go run main.go
